package com.smbms.util;

/**
 * 类名：PageParams
 * 作者：小涛
 * 创建时间：2021/8/25-19:13
 * 功能：接收前端传的参数
 */
public class PageParams {
    private Integer page;           //当前页数
    private Integer size;           //每页行数
    //用户
    private String userName;        //用户名
    private Integer userRole;        //角色编号
    private Integer gender;         //用户性别（1=女，2=男）
    //订单
    private Integer providerId;     //供应商id
    private String productName;     //商品名称
    private Integer isPayment;      //是否付款（1=未支付，2=已支付）

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserRole() {
        return userRole;
    }

    public void setUserRole(Integer userRole) {
        this.userRole = userRole;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getProviderId() {
        return providerId;
    }

    public void setProviderId(Integer providerId) {
        this.providerId = providerId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getIsPayment() {
        return isPayment;
    }

    public void setIsPayment(Integer isPayment) {
        this.isPayment = isPayment;
    }

}
